package com.csun.cmny.provider.model.domain;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

@Data
@Table(name = "cn_dmc_rfid_reader_group_alarm_light")
public class DmcRfidReaderGroupAlarmLight {
    /**
     * 门禁组Id
     */
    @Id
    @Column(name = "rfid_reader_group_id")
    @NotNull(message = "{rfid.reader.group.id.null}")
    private Long rfidReaderGroupId;

    /**
     * 报警灯Id
     */
    @Id
    @Column(name = "alarm_light_id")
    @NotNull(message = "{alarm.light.id.null}")
    private Long alarmLightId;
}